package com.bdmc.report.domain.bo;

import com.bdmc.common.core.domain.BaseSingleEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.time.LocalDateTime;

;
/**
 * 工作时间内停留业务对象 report_person_stop
 *
 * @author bdmc
 * @date 2022-08-11
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class ReportPersonStopBo extends BaseSingleEntity {
    
    private Long PersonStopId;

    private Long deptId;

    private String deptName;
    
    private Long personId;

    private String personName;
    
    private Long fenceId;

    private String fenceName;
    
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;
    
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;
    
    private Long stopTime;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate dataTime;

    private String lat;

    private String lng;

    private String address;

}
